package javango.contrib.jquery;

import java.util.ArrayList;
import java.util.List;

import javango.api.Url;
import javango.api.Urls;

import com.google.inject.Inject;

public class JqueryUrls implements Urls {
	List<Url> l = new ArrayList<Url>();

	@Inject
	public JqueryUrls() {	
		l.add(new javango.core.RegUrl("^lookup/([^/]+)/$", JqueryViews.class, "lookup"));
		l.add(new javango.core.RegUrl("^prompt/$", JqueryViews.class, "promptForm"));
		l.add(new javango.core.RegUrl("^prompt/search/$", JqueryViews.class, "prompt"));
	}
	
	public List<Url> getUrlPatterns() {
		return l;
	}


}
